package com.bydq.patrolsystem.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.bydq.patrolsystem.entity.PsPoleInfo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 写代码是不可能写代码的啦~~
 * @since 2020-05-22
 */
public interface PsPoleInfoService extends IService<PsPoleInfo> {

    //删除指定路线的所有杆塔
    boolean delByLineId(int lineId);

    boolean countByPoleCode(String poleCode);
}
